home *** CD-ROM | disk | FTP | other *** search
- Path: cedar.cic.net!anderson
- From: anderson@cedar.cic.net (Mark Anderson)
- Newsgroups: comp.lang.c
- Subject: Passing Array to DLL
- Date: 21 Mar 1996 05:04:51 GMT
- Organization: GreatLinks -- Pioneering Partners Project
- Message-ID: <4iqo1j$mli@lastactionhero.rs.itd.umich.edu>
- NNTP-Posting-Host: cedar.cic.net
- NNTP-Posting-User: anderson
- X-Newsreader: TIN [version 1.2 PL2]
-
- I am trying to passing array to an exported function in a DLL I wrote
- with VC++1.5. I used the declaration
- void func(float* num, .....)
- But when I ran the debugger, the array address was corrupted, and I got
- General Protection Fault everytime. Anyone knows what's happening. All
- the codes are writted with *.c. BTY, anyone knows how to correctly
- cross-call c/c++ dll in VC++.
-
- E-mail response preferred. Thanks
-